#!/usr/bin/env ruby

require 'plugin'

class DCLogger < Plugin
	def initialize (coreURI,file_name)
		super(coreURI,file_name)
		@logfile=File.new(file_name,"w+")
		DRb.thread.join
	end

	def write_log (msg)
		@logfile.puts(msg)
	end
end
